package com.qf.data.system.vo.output;

import lombok.Data;
import lombok.experimental.Accessors;

import java.util.ArrayList;
import java.util.List;

@Data
@Accessors(chain = true)
public class PowerTreeNodeOutput {
    private  Long id;
    private  String label;
    private  Integer type;
    private  List<PowerTreeNodeOutput> children = new ArrayList<>();

    public  void  addChildren(PowerTreeNodeOutput powerTreeNodeOutput){this.children.add(powerTreeNodeOutput);}
}
